From: Daniell Crossman Date: Wed, 20 Apr 2022 08:09:40 +0000 (+0800) Subject: luci-app-rp-pppoe-server: use netlist template X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=2f4bb31c5e2551f02f7aa473c7f5adc10dc5b59b;p=project%2Fluci.git luci-app-rp-pppoe-server: use netlist template pppoe-server init script is expecting an interface name, not a physical device name in the pppoe config. Signed-off-by: Daniell Crossman (cherry picked from commit f2eb7275249d3e0c5cf5cc21ec77bab885ad19ff) --- diff --git a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua index b86b06cf1a..91e1e54532 100644 --- a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua +++ b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua @@ -13,7 +13,7 @@ s.addremove = true s.anonymous = true o = s:option(Value, "interface", translate("Interface"), translate("Interface on which to listen.")) -o.template = "cbi/network_ifacelist" +o.template = "cbi/network_netlist" o.nocreate = true o = s:option(Value, "ac_name", translate("Access Concentrator Name"))